package com.clear.factory.factoryMethod2.product.impl;

import com.clear.factory.factoryMethod2.product.AbstractResource;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.InputStream;


/**
 * 具体的产品
 */
@AllArgsConstructor
public class DefaultResource extends AbstractResource {
    /**
     * 每个子类需要独自实现
     *
     * @return
     */
    @Override
    public InputStream getInputStream() {
        return null;
    }
}
